package com.css.zfzx.fxpg.modules.preestimate.report.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.preestimate.report.repository.entity.FxPreestimateReportEntity;
import com.css.zfzx.fxpg.modules.preestimate.report.viewobjects.FxPreestimateReportQueryParams;
import com.css.bpm.platform.sys.dict.repository.entity.DictItemEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author leon
 * @date 2020-11-18
 */

public interface FxPreestimateReportService {

    public JSONObject queryFxPreestimateReports(FxPreestimateReportQueryParams queryParams, int curPage, int pageSize);

    public FxPreestimateReportEntity getFxPreestimateReport(String id);

    public FxPreestimateReportEntity saveFxPreestimateReport(FxPreestimateReportEntity fxPreestimateReport);

    public FxPreestimateReportEntity updateFxPreestimateReport(FxPreestimateReportEntity fxPreestimateReport);

    public void deleteFxPreestimateReports(List<String> ids);


    String importExcel(MultipartFile file);
}
